import { ADD_CAR_COUNT, ADD_CAR_LIST } from "./mutations-types";

export default {
  [ADD_CAR_LIST](state, payload) {
    payload.isChecked = false;
    state.cartList.push(payload);
  },
  [ADD_CAR_COUNT](tate, payload) {
    payload.count++;
  }
};
